public class cdController {

    //private static List<CD__c> cds = new List<CD__c>();
    private static Http h = new Http();
    private static String rootUrl = 'http://search.yahooapis.com/AudioSearchService/V1/albumSearch?appid=YahooDemo'; 
    private static List<Album__c> albums = new List<Album__C>();
    
    public List<Album__c> getCds() {
      if (albums.size() == 0) {
        albums = [Select Id, Name, Artist__c, CoverArt__c, Genre__c, (Select Id, Name, Album__c From Songs__r) From Album__c Limit 1];
      }
      return albums;
    }
 }